package com.example.inventoryservice.event;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * 库存确认事件
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class InventoryConfirmedEvent {
    private String orderId;
    private Map<String, Integer> confirmedItems;
    private LocalDateTime timestamp;
}

